package org.example.aigc.entity;

public class Favorite {
    /**
     * id
     */
    private Long id;

    /**
     * user_id
     */
    private User user;

    /**
     * course_id
     */
    private Course course;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    @Override
    public String toString() {
        return "Favorite{" +
                "id=" + id +
                ", user=" + user +
                ", course=" + course +
                '}';
    }
}
